package edu.washington.tcss360.burningpenguins.data;

/**
 * A class to represent the Review table in the DB.
 * This schema assumes that the review form will never, ever change.
 * Obviously, this would be a bad idea in a real life application,
 * but I didn't want to create another six tables (question text,
 * rating text, question response, rating response, question-to-review
 * association, and rating-to-review association).
 * 
 * @author Chris Gelatt
 * @version 1.0
 * @since 2013-11-13
 *
 */
public class Review extends DataObject
{
	private Integer id;
	private Integer conferenceId;
	private Integer userId;
	private Integer paperId;
	private String question1;
	private Integer rating1;
	private String question2;
	private Integer rating2;
	private String question3;
	private Integer rating3;
	private String question4;
	private Integer rating4;
	private String question5;
	private Integer rating5;
	private String question6;
	private Integer rating6;
	private String question7;
	private Integer rating7;
	private String question8;
	private Integer rating8;
	private String question9;
	private Integer rating9;
	private Integer summaryRating;
	private String summaryComments;
	
	public Review()
	{
		super();
	}
	
	public Review(Integer conferenceId, Integer userId, Integer paperId, String question1, Integer rating1, String question2,
			      Integer rating2, String question3, Integer rating3, String question4, Integer rating4,
			      String question5, Integer rating5, String question6, Integer rating6, String question7,
			      Integer rating7, String question8, Integer rating8, String question9, Integer rating9,
			      Integer summaryRating, String summaryComments)
	{
		super();
		setId(0);
		setConferenceId(conferenceId);
		setUserId(userId);
		setPaperId(paperId);
		setQuestion1(question1);
		setRating1(rating1);
		setQuestion2(question2);
		setRating2(rating2);
		setQuestion3(question3);
		setRating3(rating3);
		setQuestion4(question4);
		setRating4(rating4);
		setQuestion5(question5);
		setRating5(rating5);
		setQuestion6(question6);
		setRating6(rating6);
		setQuestion7(question7);
		setRating7(rating7);
		setQuestion8(question8);
		setRating8(rating8);
		setQuestion9(question9);
		setRating9(rating9);
		setSummaryRating(summaryRating);
		setSummaryComments(summaryComments);
	}
	
	public Integer getId()
	{
		return id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getConferenceId()
	{
		return conferenceId;
	}
	
	public void setConferenceId(Integer conferenceId)
	{
		this.conferenceId = conferenceId;
	}

	public Integer getUserId()
	{
		return userId;
	}
	
	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

	public Integer getPaperId()
	{
		return paperId;
	}
	
	public void setPaperId(Integer paperId)
	{
		this.paperId = paperId;
	}
	
	public String getQuestion1()
	{
		return question1;
	}
	
	public void setQuestion1(String question1)
	{
		this.question1 = question1;
	}
	
	public Integer getRating1()
	{
		return rating1;
	}
	
	public void setRating1(Integer rating1)
	{
		this.rating1 = rating1;
	}

	public String getQuestion2()
	{
		return question2;
	}
	
	public void setQuestion2(String question2)
	{
		this.question2 = question2;
	}

	public Integer getRating2()
	{
		return rating2;
	}
	
	public void setRating2(Integer rating2)
	{
		this.rating2 = rating2;
	}

	public String getQuestion3()
	{
		return question3;
	}
	
	public void setQuestion3(String question3)
	{
		this.question3 = question3;
	}

	public Integer getRating3()
	{
		return rating3;
	}
	
	public void setRating3(Integer rating3)
	{
		this.rating3 = rating3;
	}

	public String getQuestion4()
	{
		return question4;
	}
	
	public void setQuestion4(String question4)
	{
		this.question4 = question4;
	}

	public Integer getRating4()
	{
		return rating4;
	}
	
	public void setRating4(Integer rating4)
	{
		this.rating4 = rating4;
	}

	public String getQuestion5()
	{
		return question5;
	}
	
	public void setQuestion5(String question5)
	{
		this.question5 = question5;
	}

	public Integer getRating5()
	{
		return rating5;
	}
	
	public void setRating5(Integer rating5)
	{
		this.rating5 = rating5;
	}

	public String getQuestion6()
	{
		return question6;
	}
	
	public void setQuestion6(String question6)
	{
		this.question6 = question6;
	}

	public Integer getRating6()
	{
		return rating6;
	}
	
	public void setRating6(Integer rating6)
	{
		this.rating6 = rating6;
	}

	public String getQuestion7()
	{
		return question7;
	}
	
	public void setQuestion7(String question7)
	{
		this.question7 = question7;
	}

	public Integer getRating7()
	{
		return rating7;
	}
	
	public void setRating7(Integer rating7)
	{
		this.rating7 = rating7;
	}

	public String getQuestion8()
	{
		return question8;
	}
	
	public void setQuestion8(String question8)
	{
		this.question8 = question8;
	}

	public Integer getRating8()
	{
		return rating8;
	}
	
	public void setRating8(Integer rating8)
	{
		this.rating8 = rating8;
	}

	public String getQuestion9()
	{
		return question9;
	}
	
	public void setQuestion9(String question9)
	{
		this.question9 = question9;
	}

	public Integer getRating9()
	{
		return rating9;
	}
	
	public void setRating9(Integer rating9)
	{
		this.rating9 = rating9;
	}

	public Integer getSummaryRating()
	{
		return summaryRating;
	}
	
	public void setSummaryRating(Integer summaryRating)
	{
		this.summaryRating = summaryRating;
	}

	public String getSummaryComments()
	{
		return summaryComments;
	}
	
	public void setSummaryComments(String summaryComments)
	{
		this.summaryComments = summaryComments;
	}

}
